'use strict';

module.exports = app => {
    const { STRING, INTEGER, DATE, DATEONLY } = app.Sequelize;

    const FollowNum = app.model.define('team_follow_num', {
        id: { type: INTEGER, primaryKey: true, autoIncrement: true },
        follow_date: DATEONLY,
        follow_num: INTEGER,
        user_role: INTEGER,
        project_id: INTEGER,
        is_change: INTEGER,
        is_delay: INTEGER,

        create_time: DATE,
        update_time: DATE,

    }, {
        paranoid: false
    });

    return FollowNum;
};